package com.dc.pay.input.dto;

import javax.validation.constraints.NotNull;

/**
 * @author: KEYD
 * @Date: 2020/1/11 20:22
 * @Desc: 创建 支付令牌
 */
public class PayCreatePayTokenDto {
    /**
     * 支付金额
     */
    @NotNull(message = "支付金额不能为空")
    private Long payAmount;
    /**
     * 订单号码
     */
    @NotNull(message = "订单号码不能为空")
    private String orderId;
    /**
     * userId
     */
    @NotNull(message = "userId不能空")
    private Long userId;

    /**
     * orderDes
     */
    @NotNull(message = "商品描述")
    private String orderDes;

    public String getOrderDes() {
        return orderDes;
    }

    public void setOrderDes(String orderDes) {
        this.orderDes = orderDes;
    }

    public Long getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Long payAmount) {
        this.payAmount = payAmount;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "PayCreatePayTokenDto{" +
                "payAmount=" + payAmount +
                ", orderId='" + orderId + '\'' +
                ", userId=" + userId +
                ", orderDes='" + orderDes + '\'' +
                '}';
    }
}
